package com.hctrl.mybatis.interceptor.handler;

/**
 * @author hanchao
 * @version 1.0
 * @date 2022/5/27 21:45
 */
public class IntegerTypeHandler implements TypeHandler<Integer>{

    @Override
    public Boolean isSupport(Class<?> type) {
        return type.equals(Integer.class);
    }

    @Override
    public String handler(Integer integer) {
        return integer.toString();
    }
}
